import Vue from 'vue'
import VueRouter from 'vue-router'

// import Terminal from '../views/detail/index.vue'

Vue.use(VueRouter)

const router = new VueRouter({
  routes: [
    {
      path: '/select',
      component: () => import('../views/select.vue')
    },
    {
      path: '/button',
      component: () => import('../views/button.vue')
    },
    {
      path: '/table',
      component: () => import('../views/table.vue')
    },
    {
      path: '/tree',
      component: () => import('../views/tree.vue')
    },
    {
      path: '/echarts',
      component: () => import('../views/echarts.vue')
    },
    {
      path: '/treeTable',
      component: () => import('../views/treeTable.vue')
    },
    {
      path: '/gantt',
      component: () => import('../views/gantt.vue')
    },
    {
      path: '/editTable',
      component: () => import('../views/editTable.vue')
    },
    {
      path: '/dialog',
      component: () => import('../views/dialog.vue')
    },
    {
      path: '/aaa',
      component: () => import('../views/aaa.vue')
    },
    // Vue Grid Layout -️ 适用Vue.js的栅格布局系统 vxetable
    {
      path: '/gridLayout',
      component: () => import('../views/gridLayout.vue')
    },
    // vxetable
    {
      path: '/vxetable',
      component: () => import('../views/vxetable.vue')
    }
  ]
})

export default router
